﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {

        static void Main(string[] args)
        {
            Class1 class1 = new Class1();
            Console.WriteLine("圆的面积：" + class1.cla(2));
            Console.WriteLine("长方形的面积" + class1.cla(2, 3));

            Class2 stru = new Class2();
            stru.LLL();
            Console.ReadKey();

            Class3 sumutils = new Class3();
            Console.WriteLine("两个整数相加:" + sumutils.Sum(2, 3));
            Console.WriteLine("两个小数相加:" + sumutils.Sum(2.2, 3.3));
            Console.WriteLine("两个字符串相加:" + sumutils.Sum("ab", "cd"));
            Console.WriteLine("1 到指定整数的和的方法:" + sumutils.Sum(100));
        }
    }
}
